//后台管理菜单项
const backMenu = [{
		id: 'index',
		name: '后台首页',
		icon: 'home',
		enName: "index",
		open: false,
		url: 'index'
	}, {
		id: 'goods',
		name: '商品管理',
		icon: 'shopping-bag',
		open: false,
		pages: [{
				name: "商品类别",
				enName: "typeManage"
			},
			{
				name: "商品详情",
				enName: "goodsManage"
			},
		]
	}, {
		id: 'purchase',
		name: '采购管理',
		icon: 'shopping-cart',
		open: false,
		pages: [{
			name: "渠道管理",
			enName: "channelManage"
		}, {
			name: "采购详情",
			enName: "purchaseManage"
		}]
	}, {
		id: 'order',
		name: '订单管理',
		icon: 'gavel',
		open: false,
		pages: [{
				name: "客户管理",
				enName: "clientManage",
			},
			{
				name: "订单详情",
				enName: "orderManage"
			}
		]
	},
	// {
	// 	id: 'saler',
	// 	name: '人员管理',
	// 	open: false,
	// 	pages: [{
	// 			name: "销售分组",
	// 			enName: "salerGroup"
	// 		},
	// 		{
	// 			name: "销售人员",
	// 			enName: "salerManage"
	// 		}
	// 	]
	// },
	{
		id: "performance",
		name: "业绩概览",
		icon: 'line-chart',
		enName: "performance",
		url: "performance",
		open: false
	},
	{
		id: "publicExpenditure",
		name: "公共支出",
		icon: 'rmb',
		enName: "publicExpenditure",
		url: "publicExpenditure",
		role_code: [98, 99], //财务
		open: false
	}, {
		id: 'system',
		name: '系统设置',
		icon: 'gear',
		role_code: [99], //50为管理员  99为超级管理员
		open: false,
		pages: [{
				name: '用户管理',
				enName: "userManage",
			},
			{
				name: '权限列表',
				enName: "authList",
			}
		]
	},
	{
		id: 'logs',
		name: '系统日志',
		icon: 'file-text',
		enName: "systemLogs",
		open: false,
		url: "systemLogs"
	},
	{
		id: 'shopManage',
		name: '商铺管理',
		icon: 'globe',
		role_code: [99], //50为管理员  99为超级管理员
		topShop: "f2cd6c41-490e-11ec-96fd-0242ac110007", //仅最顶级主店有权限显示
		enName: "shopManage",
		open: false,
		url: "shopManage"
	}
]
export {
	backMenu
}
